//
//  MqForumOnlySeeCell.m
//  Meiqi
//
//  Created by lanou on 16/1/13.
//  Copyright © 2016年 KFC. All rights reserved.
//

#import "MqForumOnlySeeCell.h"

@implementation MqForumOnlySeeCell

- (void)awakeFromNib {
    // Initialization code
}


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    
    if (self) {
        
        
        _titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(20, 0, kScreenWidth /  4 + 10, 40)];
        _titleLabel.text = @"只看楼主";
        [self.contentView addSubview:_titleLabel];
        
        
        _cellSwitch = [[UISwitch alloc] initWithFrame:CGRectMake(kScreenWidth - 60, 10, 0, 0)];
        _cellSwitch.onTintColor = [UIColor redColor];
        _cellSwitch.on = NO;
        [self.contentView addSubview:_cellSwitch];
        
    }
    
    return self;
    
}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
